<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %> 
<%@include file="includeDealListTop.jsp"%>
<table class="tb01">
	<c:forEach items="${searchedSocialDeals}" var="deal" varStatus="status">
	<c:if test="${(status.index) % 2 == 0}">
	<tr>
	</c:if>
		<td><%@include file="includeDealTypeA.jsp"%></td>
	<c:if test="${(status.index) % 2 == 0}">
	<td width="7px" bgcolor="#ffffff"></td>
	</c:if>	
	<c:if test="${(status.index) % 2 == 1 || status.last}">
	</tr>
	</c:if>
	</c:forEach>
	<c:if test="${fn:length(searchedSocialDeals) == 0}">
	<tr>
		<td>
			<div style="height:150px;border:5px solid #e4e4e4;text-align:center;padding-top:20px;font-weight:bold;color:#1A1C22">검색된 상품이 없습니다.</div>
		</td>
	</tr>
	</c:if>
</table>

